﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Fjaspx.UI.Web.Administrator.App_Api
{
    public partial class Help : UserPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string Path = null;
                string StarContent = "<h3>" + ___WebConfig.web_name + "的帮助信息</h3><h6>" + ___WebConfig.web_host + "</h6><p>无帮助信息！</p>";
                if (Request["URL"] != null)
                {
                     Path = Request["URL"].ToString();
                     string Content = Fjaspx.Common.SystemCms.Read_File(Server.MapPath(Path), "utf-8");
                     Response.Write(StarContent + Content);
                }
                else { Response.Write(StarContent); }
            }

        }
    }
}
